package Shaoe;

/**
 * Created with  IntelliJ IDEA .
 * Description:
 * User: lenovo
 * Date: 2025-${ MONTH }-17
 * Time: 23:08
 */
public class Test {

    public static void main(String[] args) {

       Cycle cycle = new Cycle();
       Flower flower = new Flower();
       Tringle tringle = new Tringle();

       Shape[] shapes = {cycle,flower,tringle};
        for (Shape shape:shapes) {
            shape.func();
        }
    }
}
